using System;
using System.Collections.Generic;
using SinBiota.Model.Entities;

namespace SinBiota.Model.Business.PersistenceServices.Interfaces
{
    public interface IEcosystemPersistenceServices
    {
        Ecosystem FindById(int id);
        Ecosystem FindByName(string name);
        IList<Ecosystem> FindAll();
        void Delete(Ecosystem ecosystem);
        void DeleteById(int id);
        void Save(Ecosystem ecosystem);
        void Update(Ecosystem ecosystem);
        IList<Ecosystem> FindByNameLike(string name);
    }
}